package com.lh.arithmetic.sortarithmetic;


public class DichotomyFindTest {

	/**
	 * 功能描述  
	 * @Author: lh  2012-8-20 下午05:47:48
	 */
	public static void main(String[] args) {
		int pacity = 100;
		DichotomyFind array = new DichotomyFind(pacity);
		array.insert(00);		
		array.insert(22);
		array.insert(33);
		array.insert(56);
		array.insert(77);
		array.display();
		int searchKey = 56;
		int resultIndex = array.findByDichotomy(searchKey);		
		System.out.println("resultIndex="+resultIndex);
		int a =  5,b = 5;
		Object d=null;
		String aString ;
		Class.forName("");
		Class<?> aaClass = Class.forName("int");
		Integer c = new Integer(5);
		System.out.println(c instanceof Integer);
		System.out.println(d instanceof  aaClass);
		

	}

}
